package linuxbox.exception;

public class FileFormatException extends A_ConfigException {
	String path = "";
	Exception exception = null;
	
	public FileFormatException() {
	}
	
	public FileFormatException(String aPath) {
		if (aPath != null) path = aPath;
	}
	
	public FileFormatException(String aPath, String aMessage) {
		super(aMessage);
		
		if (aPath != null) 
			path = aPath;
	}
	
	public FileFormatException(String aPath, String aMessage, Exception aException) {
		this(aPath, aMessage);
		exception = aException;
	}
	
	public String getPath() { 
		return path; 
	}
	
	public Exception getException() { 
		return exception; 
	}
	
	public String toString() {
		return "FileFormatException - " + path + " -" + errorMessage;
	}
}